sgdk: SpriteDef Struct Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- Class List

Public Attributes
SpriteDef Struct Reference

`#include <vdp_spr.h>`

List of all members.

## Public Attributes

s16 | posx
s16 | posy
u16 | tile_attr
u8 | size
u8 | link

## Detailed Description

VDP sprite definition structure.

Parameters:

  posx | position X
  posy | position Y
  tile_attr | tile attributes (palette, priority, HV flip, tile index)
  size | sprite size (1x1 tile to 4x4 tiles)
  link | link to next sprite (used for sprite priority)

The documentation for this struct was generated from the following file:

- vdp_spr.h

All Classes Files Functions Variables Typedefs Enumerations Defines